MailPoet\Cron\CronHelper S

Total Complexity 43
Dependencies 8
Dependents 19
Total lines 227
Lines of code 175
Logical lines of code 82
Comment lines 17
Methods 19
Properties 2

Methods 19

Method Rating Maintainability Complexity Lines of code
getSiteUrl()
A
51 11 22
isDaemonAccessible()
S
58 6 16
pingDaemon()
S
61 3 12
enforceExecutionLimit()
S
58 2 17
accessDaemon()
S
59 2 15
deactivateDaemon()
S
64 3 10
getCronUrl()
S
63 2 11
saveDaemonLastError()
S
67 2 8
saveDaemonRunCompleted()
S
69 2 7
createDaemon()
S
61 1 13
queryCronUrl()
S
62 1 12
saveDaemon()
S
70 1 7
getDaemonExecutionLimit()
S
75 1 4
createToken()
S
81 1 3
getDaemon()
S
80 1 3
validatePingResponse()
S
80 1 3
restartDaemon()
S
80 1 3
getDaemonExecutionTimeout()
S
72 1 5
__construct()
S
77 1 4